package com.gouwudai.gobbs.dao;

import java.util.List;

import com.gouwudai.gobbs.common.IPageList;
import com.gouwudai.gobbs.pojo.TbbsArea;
import com.litt.core.exception.BusiException;
import com.litt.core.exception.DBException;

/**
 * <pre>
 *  Title:TODO
 *  Description: TODO  
 * </pre>
 * 
 * @author <a href="mailto:littcai@hotmail.com">空心大白菜</a>
 * @date 2007-3-29
 * @version 1.0
 * <pre>
 * 修改记录
 *    修改后版本:     修改人：  修改日期:     修改内容: 
 * </pre>
 */
public interface IAreaDAO {

	public void save(TbbsArea tbbsArea);

	public TbbsArea load(Integer id);

	public void update(TbbsArea tbbsArea);

	public void delete(Integer cfId);

	public void deleteSome(String cfIds);

	public List listByType(int areaType);

	/**
	 * 根据省地区ID获得下属城市
	 * @param areaId
	 * @return
	 * @throws DBException
	 */
	public List listSubCities(Integer areaId);

	public IPageList listPage(int pageIndex, int pageSize, String sort);

}